package com.foreknow.demo2.Test2;

public class E {
    public static void main(String[] args) {
        InterfaceA a = new ClassA();
        int x = a.method(4);
        System.out.println(x);
        InterfaceA b = new ClassB();
        int y = b.method(2);
        System.out.println(y);
    }



}
